Optimal. Leaf size=14 \[ \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {35, 208} \begin {gather*} \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 35
Rule 208
Rubi steps
\begin {align*} \int \frac {1}{(a-b x) (a+b x)} \, dx &=\int \frac {1}{a^2-b^2 x^2} \, dx\\ &=\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 14, normalized size = 1.00 \begin {gather*} \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{(a-b x) (a+b x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.14, size = 25, normalized size = 1.79 \begin {gather*} \frac {\log \left (b x + a\right ) - \log \left (b x - a\right )}{2 \, a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.96, size = 33, normalized size = 2.36 \begin {gather*} \frac {\log \left ({\left | b x + a \right |}\right )}{2 \, a b} - \frac {\log \left ({\left | b x - a \right |}\right )}{2 \, a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.01, size = 32, normalized size = 2.29 \begin {gather*} -\frac {\ln \left (b x -a \right )}{2 a b}+\frac {\ln \left (b x +a \right )}{2 a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.53, size = 31, normalized size = 2.21 \begin {gather*} \frac {\log \left (b x + a\right )}{2 \, a b} - \frac {\log \left (b x - a\right )}{2 \, a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 14, normalized size = 1.00 \begin {gather*} \frac {\mathrm {atanh}\left (\frac {b\,x}{a}\right )}{a\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.15, size = 20, normalized size = 1.43 \begin {gather*} - \frac {\frac {\log {\left (- \frac {a}{b} + x \right )}}{2} - \frac {\log {\left (\frac {a}{b} + x \right )}}{2}}{a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________